{layout name="common/layout" /}
{css href="__PUBLIC__/admin/js/bootstrap-daterangepicker/daterangepicker.css"}
{js href="__PUBLIC__/admin/js/bootstrap-daterangepicker/moment.min.js,__PUBLIC__/admin/js/bootstrap-daterangepicker/daterangepicker.js" /}
<section class="panel">
    <header class="panel-heading">
        商品列表 <span class="label label-default">1</span>
    </header>
    <div class="panel-body">
        <div class="adv-table">
            <div id="dynamic-table_wrapper" class="dataTables_wrapper form-inline" role="grid">
                <div class="row">
                    <div class="col-xs-6">
                        <div class="btn-group">
                            <a class="btn btn-default " href="javascript:location.reload();"><i class="fa fa-refresh"></i></a>
                            <a class="btn btn-default  disabled" role="operate" data-type="1" data-url="{:WebUrl('admingoods/downgoods')}"><i class="fa fa-circle-o"></i> 下架</a>
                            <a class="btn btn-default  disabled" role="operate" data-type="1" data-url="{:WebUrl('admingoods/delgoods')}"><i class="fa fa-trash-o"></i> 删除</a>
                        </div>
                    </div>
                    <div class="col-xs-6">
                        <input type="hidden" name="start_time"/>
                        <input type="hidden" name="end_time"/>
                        <input type="text" name="membertime" class="form-control " placeholder="按时间搜索" style="font-size: 12px;width: 240px;">
                        <a class="btn btn-default ">搜索</a>
                        <a class="btn btn-success ">导出</a>
                    </div>
                </div>
                <br/>

                <table class="table">
                    <thead>
                    <tr role="row">
                        <th><input type="checkbox" value=""></th>
                        <th>排序</th>
                        <th>商品</th>
                        <th>价格</th>
                        <th>库存</th>
                        <th>销量</th>
                        <th>状态</th>
                        <th>操作</th>
                    </tr>
                    </thead>
                    <tbody >
                    <tr>
                        <td><input type="checkbox" value=""></td>
                        <td><img src="__PUBLIC__/admin/images/graph.jpg" class="img-circle " width="40px"> 赵坤</td>
                        <td>18363977481</td>
                        <td>
                            <p>普通等级</p>
                            <p>会员分组</p>
                        </td>
                        <td>
                            <p><span class="label label-success">积分:50</span></p>
                            <p><span class="label label-info">余额:12.00元</span></p>
                        </td>
                        <td>
                            <p><span class="label label-success">订单:50</span></p>
                            <p><span class="label label-info">金额:12.00元</span></p>
                        </td>
                        <td>
                            <p><span class="label label-primary">上架</span></p>
                        </td>
                        <td>
                            <div class="btn-group">
                                <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                                    操作 <span class="caret"></span>
                                </button>
                                <ul class="dropdown-menu" role="menu">
                                    <li><a href="#"><i class="fa fa-pencil-square-o"></i> 商品编辑</a></li>
                                    <li><a href="#"><i class="fa fa-link"></i> 复制链接</a></li>
                                    <li><a href="#"><i class="fa fa-trash-o"></i> 删除商品</a></li>
                                </ul>
                            </div>
                        </td>
                    </tr>

                    </tbody>
                </table>

                <div class="row-fluid">
                    <div class="span6">
                    </div>
                    <div class="span6">
                        <div class="dataTables_paginate paging_bootstrap pagination">
                            <ul>
                                <li class="prev disabled"><a href="#">← Previous</a></li>
                                <li class="active"><a href="#">1</a></li>
                                <li><a href="#">2</a></li>
                                <li><a href="#">3</a></li>
                                <li class="next"><a href="#">Next → </a></li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
<script type="text/javascript">
    $(document).ready(function () {
        dateInit('input[name="membertime"]','input[name="start_time"]','input[name="end_time"]');
    });
</script>
